package com.niit.musicserver.exception;

import lombok.Getter;
/**
 * @Description: 自定义异常
 */
public class MusicException extends RuntimeException{
    @Getter
    private String code;
    public MusicException(String message){
        super(message);
        this.code = "999999";
    }
    public MusicException(String code, String message){
        super(message);
        this.code = code;
    }
}